<?php

class Core_Model_DbTable_Prizes extends YouNet_Db_Table
{
    const TABLE_NAME 			= 'contest_prizes';


    protected $_name            = self::TABLE_NAME;
    protected $_rowClass        = 'Core_Model_Prize';

	protected $_referenceMap    = array(
        'Contest' => array(
            'columns'           => 'id_contest',
            'refTableClass'     => 'Core_Model_DbTable_Contests',
            'refColumns'        => 'id'
        ),
    );
}
